package com.example.demo.security.dao;

import com.example.demo.security.model.AdminUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminUserDao {
    //通过用户名查询
    AdminUser selectByUserName(@Param("userName") String userName);

    boolean selectByPassword(@Param("username") String username,@Param("password") String password);

}
